<?php
class Block_Admin_Message
    extends Block_Core_Text
{
    public function getMessage()
    {
        $session = new Model_Admin_Session();
        $message = $session->getData('message');
        $session->unsetData('message');

        return isset($message)?$message:array();
    }
}